import log4js from "log4js";

log4js.configure({ 
    appenders: { cheese: { type: "file", filename: "cheese.log" } },
    categories: {default: {appenders: ["cheese"], level: "error"} }
});

let debugLog = log4js.getLogger("debug");

let infoLog = log4js.getLogger("info");

let errorLog = log4js.getLogger("err");

let fatalLog = log4js.getLogger("fatal");

export { debugLog, infoLog, errorLog, fatalLog };
